home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_pyr_climbcam.cog < prev    next >
Text File  |  1999-11-15  |  1KB  |  65 lines

  1. # Jones 3D Cog Script
  2. #
  3. # pyr_climbcam.cog
  4. #    
  5. # Zoom out the FOV when the player climbs the outside of the pyramids
  6. #
  7. # [RKD]
  8. #
  9. # (C) 1998 LucasArts Entertainment Company LLC. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13. message    entered
  14.  
  15. # maze entry surfaces for western face of pyramid 1
  16. surface    entry1        linkid=1
  17. surface    entry2        linkid=1
  18. surface    entry3        linkid=1
  19.  
  20. # maze entry surfaces for southern face of pyramid 1
  21. surface    entry4        linkid=1
  22. surface    entry5        linkid=1
  23.  
  24. # maze exit surfaces for western face of pyramid 1
  25. surface RestoreCam1        linkid=2
  26. surface    RestoreCam2        linkid=2
  27. surface    RestoreCam3        linkid=2
  28. surface    RestoreCam4        linkid=2
  29.  
  30. # maze exit surfaces for southern face of pyramid 1
  31. surface RestoreCam5        linkid=2
  32. surface    RestoreCam11    linkid=2
  33. surface    RestoreCam12    linkid=2
  34. surface    RestoreCam13    linkid=2
  35.  
  36. # maze exit sectors for southern face of pyramid 1
  37. sector    RestoreCam6        linkid=2
  38. sector    RestoreCam7        linkid=2
  39. sector    RestoreCam8        linkid=2
  40. sector    RestoreCam9        linkid=2
  41. sector    RestoreCam10    linkid=2
  42.  
  43. # maze exit things for southern face of pyramid 1
  44. thing    block            linkid=2
  45.  
  46. end
  47.  
  48. code
  49. entered:
  50. # ---> all faces
  51.     
  52.     if (GetSenderID() == 1)
  53.     {
  54.         SetCameraFOV(110, 1, 1);
  55.     }
  56.  
  57.     if (GetSenderID() == 2)
  58.     {
  59.         SetCameraFOV(90, 1, 1);
  60.     }
  61.  
  62.     return;
  63.  
  64. end
  65.